package com.tvunetworks.center.user.model.json;

import lombok.Data;

import java.util.List;

/**
 * @param <T> t
 * @description: ExcelData
 * @author chrishuang
 * @create: 2019-06-20 4:18 PM
 **/
@Data
public class ExcelData<T> {
    private String[] titles;
    /**
     * 忽略属性列表
     */
    private String[] ignoreList;
    private List<T> content;
    private String name;

    /**
     *
     *
     * @return 状态数组
     */
    public String[] getTitles() {

        if (titles == null) {
            return null;
        }

        return titles.clone();
    }
    /**
     *
     *
     * @param titles 状态数组
     */
    public void setTitles(String[] titles) {

        if (titles == null) {
            return;
        }
        this.titles = titles.clone();
    }




    /**
     *
     *
     * @return 状态数组
     */
    public String[] getIgnoreList() {

        if (ignoreList == null) {
            return null;
        }

        return ignoreList.clone();
    }
    /**
     *
     *
     * @param ignoreList 状态数组
     */
    public void setIgnoreList(String[] ignoreList) {

        if (ignoreList == null) {
            return;
        }
        this.ignoreList = ignoreList.clone();
    }

}
